<!doctype html>
<html>
<head>
<meta charset="gb2312"/>
<script type="text/javascript">var _speedMark = new Date();</script>
<title>SmartHost</title>
<meta name="author" content="mooringniu" />
<meta name="url" content="http://code.google.com/p/smarthost" />
<meta name="description" content="SmartHost A Remote IP/Host Remap Plugin for Fiddler" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="mstyle.css" />
</head>
<body>
<h2 class="center">SmartHost Configuration</h2>
<form method="post" action="/" name="selectForm" id="selectForm" enctype="application/x-www-form-urlencoded" onsubmit="return checkForm();">
  <fieldset>
    <legend>Model Select</legend>
    <select id="proxyModel" name="proxyModel">
      <option value="">Clean Configuration</option>
      <option value="remote">Romote Proxy</option>
      <option value="local">IP/Host Pairs</option>
    </select>
  </fieldset>
  <fieldset id="remoteContent">
    <legend>Remote Proxy</legend>
    <input type="text" name="remoteHost" id="remoteHost" placeholder="Remote ip address" maxlength="15"/>
    <input type="tel"  name="remotePort" id="remotePort" placeholder="Port 8888" value="8888" maxlength="5" />
  </fieldset>
  <fieldset id="localContent">
    <legend>IP/Host Pairs</legend>
    <div class="select">localhost<select name="localhost"><option value="" selected>IDC Host</option><option value="127.0.0.1">127.0.0.1</option></select></div>
    <span holder></span>
    <div class="info">
      <input class="input" type="text" key="key" placeholder="www.qq.com" />
      <input class="input" type="text" key="val"  placeholder="192.168.10.2" maxlength="15" />
      <input class="input" type="hidden" name="" value=""/>
      <button id="addBtnOne" class="gray">Add Pair</button>
    </div>
  </fieldset>
  <fieldset id="cleanContent">
      <legend>Clean Configuration</legend>
    All of your configuration will be cleaned.
  </fieldset>
  <div class="">
      <input type="hidden" id="oid" name="oid" />
      <button type="submit" class="blue">Submit</button>
  </div>
</form>
<fieldset>
    <legend>Model Tips</legend>
    <dl>
      <dt>Clean Configuration</dt>
      <dd>All of your proxy configuration will be cleaned.</dd>
      <dt>Romote Proxy</dt>
      <dd>Proxy all HTTP requests to specify IP:Port, and set hosts on that machine</dd>
      <dt>Local IP/Host Pairs</dt>
      <dd>Select IP/Hosts pairs which have been configurated by proxy admin</dd>
    </dl>
</fieldset>
<div class="center copy">&copy; by mooringniu</div>
<script type="text/javascript">
window.onerror=function(a,b,c){ new Image().src = '/?a='+a+'&b='+b+'&c='+c;};
</script>
<script type="text/javascript" src="js/appframework.min.js"></script> 
<script type="text/javascript" src="js/comm.js"></script> 
<script type="text/javascript" src="js/index.js"></script> 
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=28971616" charset="utf-8"></script>
</body>
</html>